package com.zy.oop;

public class Circle {
    // PI r
//    double PI = 3.14;
    double r;

    Circle(double r){
        this.r = r;
    }

    public double getArea(){
        return Math.PI * Math.pow(r,2);
    }

}
